/*    */ package com.hs.activation.common.result;
/*    */ 
/*    */ import io.swagger.annotations.ApiModel;
/*    */ import io.swagger.annotations.ApiModelProperty;
/*    */ 
/*    */ 
/*    */ @ApiModel("接口返回对象")
/*    */ public class Result
/*    */ {
/*    */   private static final long serialVersionUID = 1L;
/*    */   
/*    */   public void setMessage(String message) {
/* 13 */     this.message = message; }
            public void setCode(Integer code) {
    this.code = code;
}
public void setData(Object data) {
    this.data = data;
}
public void setTimestamp(long timestamp) {
    this.timestamp = timestamp;
}
public boolean equals(Object o) {
    if (o == this) return true;
    if (!(o instanceof com.hs.activation.common.result.Result)) return false;
    com.hs.activation.common.result.Result other = (com.hs.activation.common.result.Result)o;
    if (!other.canEqual(this)) return false;  if (getTimestamp() != other.getTimestamp()) return false;
    Object this$code = getCode(), other$code = other.getCode();
    if ((this$code == null) ? (other$code != null) : !this$code.equals(other$code)) return false;
    Object this$message = getMessage(), other$message = other.getMessage();
    if ((this$message == null) ? (other$message != null) : !this$message.equals(other$message)) return false;
    Object this$data = getData(), other$data = other.getData();
    return !((this$data == null) ? (other$data != null) : !this$data.equals(other$data));
} protected boolean canEqual(Object other) { return other instanceof com.hs.activation.common.result.Result; }
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */   
/*    */   @ApiModelProperty("返回处理消息")
/* 24 */   private String message = "操作成功！"; public String getMessage() {
/* 25 */     return this.message;
/*    */   }
/*    */ 
/*    */ 
/*    */   
/*    */   @ApiModelProperty("返回代码")
/* 31 */   private Integer code = Integer.valueOf(0); public Integer getCode() { return this.code; }
/*    */   
/*    */   @ApiModelProperty("返回数据对象")
/*    */   private Object data;
/*    */   
/*    */   public Object getData() {
/* 37 */     return this.data;
/*    */   }
/*    */ 
/*    */ 
/*    */   
/*    */   @ApiModelProperty("时间戳")
/* 43 */   private long timestamp = System.currentTimeMillis(); public long getTimestamp() { return this.timestamp; }
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */   
/*    */   public Result(String message, Integer code) {
/* 50 */     this.message = message;
/* 51 */     this.code = code;
/*    */   }
/*    */   
/*    */   public Result(String message, Integer code, Object data) {
/* 55 */     this.message = message;
/* 56 */     this.code = code;
/* 57 */     this.data = data;
/*    */   }
/*    */   
/*    */   public Result() {}
/*    */ }


/* Location:              C:\Users\yzc\Desktop\新建文件夹 (3)\activation-0.0.16.jar!\BOOT-INF\classes\com\hs\activation\common\result\Result.class
 * Java compiler version: 16 (60.0)
 * JD-Core Version:       1.1.3
 */